home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-serious-
/
programming
/
c
/
stormamiga_lib-v45_00d
/
include
/
stdlib_stormamiga.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-28
|
911b
|
44 lines
#ifndef STDLIB_STORMAMIGA_H
#define STDLIB_STORMAMIGA_H
/*
** $VER: stdlib_stormamiga.h 1.0 (18.09.98)
** Includes Release 45.00
**
** Copyright © 1996/2000 by CyberdyneSystems
**
** written by Matthias Henze
** All Rights Reserved
*/
#ifndef STORMAMIGA_H
#include <stormamiga.h>
#endif
#ifndef _INCLUDE_STDLIB_H
#include <stdlib.h>
#endif
#ifndef _INCLUDE_SIGNAL_H
#include <signal.h>
#endif
#ifdef STORMAMIGA_INLINE
/*----- ANSI C-functions -----*/
#define atoi atol
__inline long atol (cchar *s)
{ return strtol (s, NULL, 10); }
__inline llong atoll (cchar *s)
{ return strtoll (s, NULL, 10); }
__inline double atof (cchar *s)
{ return strtod (s, NULL); }
__inline void abort (void)
{ raise (SIGABRT); }
#endif /* STORMAMIGA_INLINE */
#endif /* STDLIB_STORMAMIGA_H */